package com.fanghuyun.iswaf.user.action;


import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;


import com.opensymphony.xwork2.ActionSupport;

public class Test extends ActionSupport {

	private static final long serialVersionUID = 1L;
	
	private int id;
	
	@Override
	public String execute() throws Exception {
		HttpServletRequest request = ServletActionContext.getRequest();
		System.out.println(request.getQueryString());
		org.apache.struts2.ServletActionContext.getResponse();
//		System.out.println(request.getParameter("sb"));
//		System.out.println(request.getAttribute("sb"));
		return SUCCESS;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
}
